<?php
namespace app\admin\controller;
//use app\admin\controller\Common;
use think\console\Input;
use think\session;
use think\Db;
use think\Controller;
class Index extends Common
{
  public function main()
	{
	  return $this->fetch('main');
	}
  public function top()
   {
     $result=Db::table('jf_role')->where('r_id',Session::get('r_id'))->find();
     return $this->fetch('top',
                   ['result'=>$result]
       );
   }
   public function left()
   {
     return $this->fetch('left');
   }
   public function index()
   {
     return $this->fetch('index');
   }
   
 
   
}